<template>
	<view :style="viewColor">
		<view class="verificate bg-f boder-24">
			<view class="title">核销码</view>
			<view class="pictrue">
				<image :src="codeUrl"></image>
			</view>
			<view class="code">{{verifyVal}}</view>
		</view>
	</view>
</template>

<script>
	// +----------------------------------------------------------------------
	// | CRMEB [ CRMEB赋能开发者，助力企业发展 ]
	// +----------------------------------------------------------------------
	// | Copyright (c) 2016~2024 https://www.crmeb.com All rights reserved.
	// +----------------------------------------------------------------------
	// | Licensed CRMEB并不是自由软件，未经许可不能去掉CRMEB相关版权
	// +----------------------------------------------------------------------
	// | Author: CRMEB Team <admin@crmeb.com>
	// +----------------------------------------------------------------------
	import { mapGetters } from "vuex";
	let app = getApp();
	export default {
		name: 'reservationCode',
		props: {
			codeUrl: {
				type: String,
				default: ""
			},
			verifyVal: {
				type: String || Number,
				default: ""
			}
		},
		computed: mapGetters(['viewColor']),
		data() {
			return {
				
			};
		},
		created() {
			
		},
		methods: {
		
		}
	}
</script>

<style lang="scss">
	.verificate {
		text-align: center;
		padding: 48rpx 0;
		.pictrue {
			margin: 40rpx auto 0;
			width: 320rpx;
			height: 320rpx;
			image {
				width: 320rpx;
				height: 320rpx;
			}
		}
		.code {
			margin-top: 20rpx;
			color: var(--view-theme);
			font-weight: 500;
		}
	}
	
</style>
